package com.jeff.android.lab.module.widget.webview;

import android.os.Bundle;

import com.jeff.android.lab.BaseActivity;
import com.jeff.android.lab.R;

/**
 * @author: dingfeng
 * @date: 2021/5/6
 * @since: 1.0.0
 **/
public class WebViewPoolActivity extends BaseActivity {

    private WebViewPoolFragment mWebViewPoolFragment;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_fragment_depend);
        getSupportFragmentManager().beginTransaction()
                .add(R.id.fragment_container, mWebViewPoolFragment = new WebViewPoolFragment())
                .commitAllowingStateLoss();
    }

    @Override
    public void onBackPressed() {
        mWebViewPoolFragment.handleBack();
    }

}
